<script>
    $(document).ready(function(){
        //监听屏幕上下滚动
        $(document).scroll(function(){
            let scrollHeight = $(document).scrollTop();

            console.log(scrollHeight);

            //列表头部
            let scrollListHeader = $('#scrollListHeader');
            if(scrollHeight > 100){
                scrollListHeader.removeClass('_hidden').addClass('_hidden');
            } else {
                scrollListHeader.removeClass('_hidden');
            }

        });
    });
</script>
<?php /**PATH F:\wamp64\www\laravel8\resources\views/shared/adminTreeHeader.blade.php ENDPATH**/ ?>